<form action="" method="post">
<?php foreach ($list as $item):?>
	<div class="form-group">
		<label for="form_<?=$item['name']?>"><?=$item['label']?></label>
	    <input type="text" class="form-control" name="<?=$item['name']?>" id="form_<?=$item['name']?>" value="<?=$item['value']?>">
	</div>
<?php endforeach;?>
	<button class="btn btn-primary">提交</button>
</form>
